package com.dctp.common.vo;


public class TipCode {

	public static final String SUCCESS = "000";
	public static final String NOT_REGISTER = "4000";
	public static final String HAD_REGISTER = "4001";
	public static final String NOT_LOGIN = "5000";
	public static final String STATUS_ILLEGAL = "5001";
	public static final String UPLOAD_FAIL = "5002";

	public static final String NO_AUTH = "59";
	public static final String FUCK_CODE = "FUCK";
	public static final String OPS_TIMEOUT = "timeout";




	//1-99,格式问题

	public static final String PARAM_EMPTY = "1";
	public static final String PARAM_ERROR = "2";

	public static final String ERR_EMAIL = "11";


	//100，用户业务
	public static final String ACCOUNT_PASSWORD_ERR = "100";
	public static final String VALIDATE_CODE_ERR = "101";
	public static final String REGISTER_FAIL = "102";
	public static final String SET_FAIL = "103";
	public static final String EMAIL_SEND_FAIL = "104";
	public static final String PAY_PASSWORD_NOT_SET = "105";
	public static final String PAY_PASSWORD_ERR = "106";
	public static final String USER_NOT_EXIST = "107";
	public static final String INVITE_CODE_ERR = "108";
	public static final String NICK_NAME_EXIST = "109";
	public static final String WALLET_EXIST_EXIST = "110";




	// 200，转账相关
	public static final String TRANSFER_SELF = "200"; // 不能转给自己
	public static final String TRANSFER_TOUSER_NOT_EXIST = "201"; // 收款人不存在
	public static final String TRANSFER_TOUSER_DISABLED = "202"; // 收款人账号已禁用
	public static final String TRANSFER_BALANCE_NOT_ENOUGH = "203"; // 余额不足
	public static final String TRANSFER_DEDUCT_FAIL = "204"; // 扣减余额失败
	public static final String TRANSFER_ADD_FAIL = "205"; // 增加收款人余额失败
	public static final String TRANSFER_SUBMIT_FAIL = "206"; // 转赠提交失败
	public static final String TRANSFER_DAY_LIMIT = "207"; // 超出每日转账限额
	public static final String TRANSFER_RECEIVE_DAY_LIMIT = "208"; // 超出每日收款限额
	public static final String TRANSFER_SEND_NOT_ALLOW = "209";
	public static final String TRANSFER_ACCEPT_NOT_ALLOW = "210";


	// 300，交易相关
	public static final String ORDER_REPEAT_SUBMIT = "300"; // 请勿重复提交
	public static final String ORDER_PRICE_EXPIRED = "301"; // 当前价格过时，请重新下单
	public static final String CONTRACT_NOT_FOUND = "302"; // 合约未配置或已关闭
	public static final String NOT_IN_TRADE_TIME = "303"; // 当前不在该品种可交易时段
	public static final String ACCOUNT_LIMIT = "304"; // 风控限制，无法下单
	public static final String BALANCE_NOT_ENOUGH = "305"; // 余额不足
	public static final String ORDER_SAVE_FAIL = "306"; // 写入订单失败
	public static final String ORDER_NOT_FOUND_OR_CLOSED = "307"; // 订单不存在或已平仓
	public static final String PRICE_NOT_IN_TICK = "308"; // 当前价格不在最近3秒内，请重新平仓
	public static final String FUTURES_NOT_FOUND = "309"; // 合约品种不存在
	public static final String REFUND_FAIL = "310"; // 返还资金失败
	public static final String ORDER_UPDATE_FAIL = "311"; // 订单更新失败
	public static final String SET_TP_SL_FAIL = "312"; // 设置失败
	public static final String CLOSE_ORDER_FAIL = "313"; // 平仓失败
	public static final String ILLEAGE_PRICE = "314"; // 非法价格
	public static final String OPEN_FAIL = "315"; // 非法价格

	// 320，风控相关
	public static final String SINGLE_LOT_LIMIT = "320"; // 单笔手数超限
	public static final String DAILY_ORDER_LIMIT = "321"; // 当日开仓笔数已达上限
	public static final String DAILY_LOT_LIMIT = "322"; // 当日开仓手数超过上限
	public static final String MAX_POSITION_LOT = "323"; // 持仓手数超限
	public static final String FORCE_CLOSE_TIME = "324"; // 强平时间段禁止开仓


	//400，提现相关
	public static final String FIXED_RATE_NOT_FOUND = "400"; // 提现费率未找到
	public static final String WITHDRAW_FAIL = "401"; // 提现失败
	public static final String WITHDRAW_RATE_NOT_ENOUGH = "402"; // 提现金额不足
	public static final String WITHDRAW_RATE_NOT_MATCH = "403"; // 提现费率不匹配
	public static final String WITHDRAW_RATE_NOT_VALID = "404"; // 提现费率无效
	public static final String WITHDRAW_RATE_NOT_CONFIGURED = "405"; // 提现费率未配置


	//500结果相关
	public static final String COMMISSION_ORDER_NOT_EXIST = "500";//订单不存在
	public static final String COMMISSION_HAD_COUNT = "501";//订单已结算
	public static final String COMMISSION_WEEK_TIME_ERR = "502";//未满足周结结算要求
	public static final String COMMISSION_MONTH_TIME_ERR = "503";//为满足月结时间要求
	public static final String COUNT_FAIL = "504";//结算失败
	public static final String COMMISSION_NO_ORDER = "505";//无结算订单


	//600收益宝相关
	public static final String SYB_IN_AMOUNT_FAIL = "600";
	public static final String NH_NOT_CONFIGURED = "601";
	public static final String SYB_OUT_AMOUNT_FAIL = "602";
}
